﻿using Medianamik.Core;
using Medianamik.Core.DAL;
using Medianamik.Core.DAL.Repositories;
using Medianamik.Core.DAL.Services;
using SubSonic;

namespace Medianamik.UI.Web.Shop.Data.Repositories
{
    public class RegionAndTaxRepository<TCollection, TItem> : 
        MedianamikRepository<TCollection, TItem>, IRegionAndTaxRepository<TItem> 
        where TItem : IRecordBase, IMedianamikDTO, new() 
        where TCollection : ICollectionWithChildren<TCollection, TItem>, new()
    {
        public RegionAndTaxRepository(ICultureService cultureService, IContentStateService contentStateService, INodeMapper nodeMapper) : base(cultureService, contentStateService, nodeMapper)
        {
        }
    }

    public interface IRegionAndTaxRepository<T> : IMedianamikRepository<T> where T : IMedianamikDTO
    {

    }
}
